Return-Path: <corraltalkadmin@lassosmart.com>
Received: from 209.209.48.85 (209.209.48.85) by pointinspace.com with SMTP
 (Eudora Internet Mail Server 3.0.3); Thu, 14 Jun 2001 14:14:02 -0700
Received: from mailout1-hme0.midsouth.rr.com (24.165.200.10) by
 pointinspace.com with ESMTP
 (Eudora Internet Mail Server 3.0.3) for
 <corraltalk@lassosmart.com>;
Received: from pavilion (HubM-mcr-24-24-107-235.midsouth.rr.com
 [24.24.107.235])
	by mailout1-hme0.midsouth.rr.com (8.11.2/8.11.2) with SMTP id
 f5ELCwA13380
	for <corraltalk@lassosmart.com>; Thu, 14 Jun 2001 16:12:58 -0500 (CDT)
Sender: corraltalk@lassosmart.com
Errors-To: corraltalkadmin@lassosmart.com
Reply-To: corraltalk@lassosmart.com
Message-Id: <NDBBJIGJOKGJLHCIANIFMEGDDPAA.lassolist@tracychilders.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Precedence: Bulk
X-Listserver: Macjordomo 1.5  - Macintosh Listserver
Date: Thu, 14 Jun 2001 16:10:40 -0700
From: "Tracy Alan Childers" <lassolist@tracychilders.com>
To: Multiple recipients of CorralTalk <corraltalk@lassosmart.com>
Subject: RE: Corral Technique and Inlcude folders..

I'm trying to do something like this where the root folder and path
information is set in my site_config.inc file.

I have verified that the variable I set was /foldername/includes/

However, when I tried to do something like:

	[Include:'(var:'includespath')filename.lasso']

I get an error that says expected end of tag.

Is there a limitation on using a variable in a path when you are using the
include tag??

Thanks in advance.

Tracy


> Two solutions.
>
> a) Make all image references absolute from the root of your Web
> server.  This is
> the easiest method.  All image reference are guaranteed to work
> no matter where
> files are moved within the Web server.
>
> <img src="/images/blah.gif">
>
> b) Use a variable to specify where the image references should
> start. In your
> include file put the following code:
>
> [if: (var_defined: 'imageFolder') == false]
>   [var_set: 'imageFolder'='/images/']
> [/if]
>
> <img src="[variable: 'imageFolder']blah.gif">
>
> Then, in the file that includes the file override the variable by
> setting it to
> the proper value.
>
> [var_set: 'imageFolder'='../images/']
>
> The exact details will depend on how your file hierarchy is set up.
>
> [fletcher]
>
> --
> Fletcher Sandbeck                         fletcher@blueworld.com
> Lasso Product Specialist                   support@blueworld.com
> Blue World Communications, Inc.         http://www.blueworld.com/
>
> -----------------------------------------------------------------------
> This is the CorralTalk Mailing List, dedicated to the development of the
> Corral Methodology (tm), a method for creating dynamic, modular web sites
> using LDML and the Lasso Database Engine from Blueworld, Inc.
>
> To Subscribe: <mailto:corraltalksubscribe@lassosmart.com>
> To Unsubscribe: <mailto:corraltalkunsubscribe@lassosmart.com>
> Official Corral Methodology Website : <http://corral.lassosmart.com/>
> Note: the term "Corral Methodology" is a trademark of Lassosmart.com and
> Spring Hollow Publishing, Inc.
>
> List hosting graciously provided by <http://www.pointinspace.com/>
>
> ------------------------------------------------------------
> Lasso Summit 2001: August 10-11, 2001, Orlando, FL
>      Register Now! <http://www.LassoSummit.com/>
> ------------------------------------------------------------
>
>
>


-----------------------------------------------------------------------
This is the CorralTalk Mailing List, dedicated to the development of the
Corral Methodology (tm), a method for creating dynamic, modular web sites
using LDML and the Lasso Database Engine from Blueworld, Inc.

To Subscribe: <mailto:corraltalksubscribe@lassosmart.com>
To Unsubscribe: <mailto:corraltalkunsubscribe@lassosmart.com>
Official Corral Methodology Website : <http://corral.lassosmart.com/>
Note: the term "Corral Methodology" is a trademark of Lassosmart.com and
Spring Hollow Publishing, Inc.

List hosting graciously provided by <http://www.pointinspace.com/>

------------------------------------------------------------
Lasso Summit 2001: August 10-11, 2001, Orlando, FL
     Register Now! <http://www.LassoSummit.com/>
------------------------------------------------------------

 
